package com.UdpRecieve.service.impl;

import com.UdpRecieve.domain.FileOption;
import com.UdpRecieve.domain.system.SysUser;
import com.UdpRecieve.mapper.FileOptionMapper;
import com.UdpRecieve.service.SysSystemConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysSystemConfigServiceImpl implements SysSystemConfigService {

    @Autowired
    private FileOptionMapper fileOptionMapper;

    @Override
    public List<FileOption> selectConfigList() {
        return fileOptionMapper.selectFileOptionList(new FileOption());
    }

    @Override
    public Integer updateConfig(FileOption fileOption){
        return fileOptionMapper.updateFileOption(fileOption);
    }
}
